package com.xt.bean;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 专业表
 * Created by XT on 2018/5/3.
 */
@Document(collection="tb_specialty")
public class Specialty extends BaseBean{
    private String name;//名字
    private String departmentId;//所属院系id
    private String departmentName;//所属院系名字
    private String[] classIds;//专业下面的班级id

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String[] getClassIds() {
        return classIds;
    }

    public void setClassIds(String[] classIds) {
        this.classIds = classIds;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
}
